-
Home
-
Revolut Gateway for WooCommerce
-
4.21.2
-
Code
-
Classes
- OptionRepository
| Total Complexity |
16 |
| Dependencies |
0 |
| Dependents |
3 |
| Total lines |
124 |
| Lines of code |
86 |
| Logical lines of code |
30 |
| Comment lines |
3 |
| Methods |
12 |
| Properties |
2 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| maybeDecode() |
S |
67 |
4 |
7 |
| isJson() |
S |
72 |
2 |
5 |
| addOrUpdate() |
S |
61 |
1 |
14 |
| update() |
S |
63 |
1 |
11 |
| __construct() |
S |
70 |
1 |
7 |
| maybeEncode() |
S |
80 |
1 |
3 |
| add() |
S |
67 |
1 |
8 |
| get() |
S |
66 |
1 |
9 |
| delete() |
S |
69 |
1 |
7 |
| exists() |
S |
66 |
1 |
9 |
| addCached() |
S |
79 |
1 |
3 |
| getCached() |
S |
80 |
1 |
3 |